import request from '@/utils/request'

export default {
  //数据字典列表
  dictList(id) {
    return request ({
      url: `/admin/cmn/dict/findChildData/${id}`,
      method: 'get'
    })
  },
  // 下载数据
  exportData() {
    return request ({
      url: `/admin/cmn/dict/export-dict`,
      method: 'get',
      responseType: 'blob'
    })
  }
}